package com.hphs.service;

import com.hphs.mapper.CarGoodsDao;
import com.hphs.mapper.VideoDao;
import com.hphs.model.CargoodQuery;
import com.hphs.model.Cargoods;
import com.hphs.model.Videos;
import com.hphs.model.VideosQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarGoodsService {
    @Autowired
    private CarGoodsDao carGoodsDao;

    public List<Cargoods> select(CargoodQuery query){
        List<Cargoods> cargoodsList = carGoodsDao.select(query);

        return cargoodsList;
    }

}
